package howe.sudoku.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class SudokuInfoVo implements Parcelable {

    private String id = null;

    private String folderId = null;

    private String data = null;

    private String readOnlyData= null;

    private String state = null;

    private String time = null;

    private String lastPlayed = null;

    private String created = null;

    private String note = null;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFolderId() {
        return folderId;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getReadOnlyData() {
        return readOnlyData;
    }

    public void setReadOnlyData(String readOnlyData) {
        this.readOnlyData = readOnlyData;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getLastPlayed() {
        return lastPlayed;
    }

    public void setLastPlayed(String lastPlayed) {
        this.lastPlayed = lastPlayed;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }


    public SudokuInfoVo() { }

    private SudokuInfoVo(Parcel in) {
        setId(in.readString());
        setFolderId(in.readString());
        setData(in.readString());
        setReadOnlyData(in.readString());
        setState(in.readString());
        setTime(in.readString());
        setLastPlayed(in.readString());
        setCreated(in.readString());
        setNote(in.readString());
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel out, int flags) {
        out.writeString(getId());
        out.writeString(getFolderId());
        out.writeString(getData());
        out.writeString(getReadOnlyData());
        out.writeString(getState());
        out.writeString(getTime());
        out.writeString(getLastPlayed());
        out.writeString(getCreated());
        out.writeString(getNote());
    }

    public static final Parcelable.Creator<SudokuInfoVo> CREATOR = new Parcelable.Creator<SudokuInfoVo>() {
        public SudokuInfoVo createFromParcel(Parcel in) {
            return new SudokuInfoVo(in);
        }

        public SudokuInfoVo[] newArray(int size) {
            return new SudokuInfoVo[size];
        }
    };
}